﻿using Basic.FormRemoteModel;
using SqlSugar;

namespace Basic.FormModel.DB
{
    [SugarTable("PageControl")]
    public class DBPageControl
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id
        {
            get;
            set;
        }
        public string Code
        {
            get;
            set;
        }
        /// <summary>
        /// 控件名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 页面控件类型
        /// </summary>
        public PageControlType ControlType { get; set; }

        /// <summary>
        /// 分类
        /// </summary>
        public string Classify { get; set; }

        /// <summary>
        /// 控件路径
        /// </summary>
        public string ControlPath { get; set; }

        /// <summary>
        /// 编辑控件路径
        /// </summary>
        public string EditControlPath { get; set; }

        public byte MinWidth { get; set; }

        public byte MinHeight { get; set; }

        public PageControlStatus Status { get; set; }

        public int Sort { get; set; }
    }
}
